public class Zuoye4 {
    public static void main(String[] args) {
//        int a=2000;
        for(int a=2000;a>=0;a--)
        {

            if(a%10==0)
                System.out.print("\n");
            System.out.print(a+" ");
        }
    }
}
